All Questions
6 questions
6votes
7answers
7kviews
How to avoid repeating "a==b" when comparing "condition a" and then "condition b" and then...?
For example, I have an object: public class Obj{ public int a; public float b; public String c; } I need to find best "Obj": largest a and then largest b and then longest c: int ...
0votes
1answer
69views
Design a non replayable endpoint for a service
I am trying something out in Springboot and stuck with a weird issue where I want to send some data from my frontend (react app) to backend (SpringBoot) and make that request non replay able by users (...
4votes
0answers
14kviews
Design elevator system algorithm and classes? [closed]
Here are the main classes I can think off the top of my head. All business objects will follow the abstraction (implement interfaces). I have not mentioned interface names to avoid verbosity. I have ...
-2votes
1answer
509views
Program to look at the first say 5 characters of a word and return a string if that string is actually the first 5 characters of a word?
For example, say I have a string and it has the letters: RDNAL This is not an actual English word or it doesn't start an actual english word, so the program would skip this string and would avoid it....
-2votes
1answer
495views
How to create a some kind of value for sentences? [closed]
I want to identify most matching sentence using some pattern. That means by using java algorithm I want to create identical value for each sentences.Each sentence when entering to that algorithm can ...
12votes
8answers
2kviews
Algorithm Vs Design [duplicate]
Possible Duplicate: Is it essential to learn algorithms to be a real programmer? This question is, perhaps, related mostly to web developers who, like myself, code enterprise applications and use ...